function setLocalStorage(name, value) {
	if (localStorage) {
		window.localStorage.setItem(name, value);
	}
	else {
		alert('Local storage not supported. Please get a proper browser');
	}

}

// /Get Data Function
function getLocalStorage(name) {
	if (localStorage) {
		return window.localStorage.getItem(name);
	} else {
		alert('Local storage not supported. Please get a proper browser');
	}

}